import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css'
import './mock/introDuct.ts'
import store from '@/store'
// axios文件
import axios from './utils/request'
// 引入封装的nprogress.ts
import { start, close } from '@/utils/nprogress'
const app = createApp(App)
app.use(store).use(router).use(Antd).mount('#app')
app.config.globalProperties.$axios = axios // 配置axios的全局引用
